projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9f481
)
Add imenu support to package-menu-mode
author
Hong Xu
<hong@topbug.net>
Mon, 24 Jun 2019 23:22:23 +0000
(
01:22
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 24 Jun 2019 23:31:10 +0000
(
01:31
+0200)
* gnus-cite.el (gnus-message-citation-mode): Fontify if the major
mode is derived from message-mode (not necessarily equal to
message-mode) (bug#25124).
lisp/gnus/gnus-cite.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-cite.el
b/lisp/gnus/gnus-cite.el
index 3aaf41ccf7eb63aacfc1aa76e6e64cb4befca9ca..7f0da2a0fa0ea49f8278f937f8716c09258f1d3c 100644
(file)
--- a/
lisp/gnus/gnus-cite.el
+++ b/
lisp/gnus/gnus-cite.el
@@
-1163,7
+1163,7
@@
When enabled, it automatically turns on `font-lock-mode'."
nil ;; init-value
"" ;; lighter
nil ;; keymap
- (when (
eq major-mode 'message-mode) ;FIXME: Use derived-mode-p.
+ (when (
derived-mode-p 'message-mode)
;; FIXME: Use font-lock-add-keywords!
(let ((defaults (car font-lock-defaults))
default keywords)